{% if result %}
<h1>{{object.name}} ({{object.address}}) chassis id</h1>

<table border="0">
    <tr><td><b>Object</b></td><td>{{object.name}}</td></tr>
    <tr><td><b>Address</b></td><td>{{object.address}}</td></tr>
    <tr><td><b>Profile</b></td><td>{{object.profile.name}}</td></tr>
    <tr>
        <td><b>Chassis ID MAC</b></td>
        <td>
            {% for m in result %}
                {{ m.first_chassis_mac }} - {{ m.last_chassis_mac }}<br/>
            {% endfor %}
        </td>
    </tr>
</table>
{% else %}
No data!!!
{% endif %}